/**
 * Project Name:kany-project-spring-boot
 * File Name:JavaMelodyMonitoringFilter.java
 * Package Name:me.kany.project.spring.boot.javamelody
 * Date:2016年5月11日下午1:34:11
 * Copyright (c) 2016, Jason.Wang All Rights Reserved.
 *
*/

package me.kany.project.spring.boot.config.javamelody;

import javax.servlet.DispatcherType;
import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

import net.bull.javamelody.MonitoringFilter;

/**
 * ClassName:JavaMelodyMonitoringFilter <br/>
 * Function: 配置MonitoringFilter的监控信息. <br/>
 * Date:     2016年5月11日 下午1:34:11 <br/>
 * @author   Jason.Wang
 * @version  
 * @since    JDK 1.7
 * @see 	 
 */
@WebFilter(filterName = "javaMelodyMonitoringFilter", asyncSupported = true, dispatcherTypes = {DispatcherType.REQUEST, DispatcherType.ASYNC} ,urlPatterns = "/*", initParams = {@WebInitParam(name = "log", value = "true"),@WebInitParam(name="authorized-users",value = "admin:admin"),@WebInitParam(name="storage-directory" ,value = "/tmp/javamelody")})
public class JavaMelodyMonitoringFilter extends MonitoringFilter {
}
